package com.coffee.order.api.sku.service;

import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.order.api.sku.query.OrderBalanceQuery;
import com.coffee.order.api.sku.result.OrderBalanceBackendResult;
import com.coffee.order.api.sku.result.OrderBalanceResult;
import com.coffee.order.api.sku.result.OrderResult;


public interface OrderBalanceService {

	Page<OrderBalanceResult> getPager(OrderBalanceQuery param, PagerInfo pr);

	Page<OrderBalanceBackendResult> getOrderBalanceBackendResult(OrderBalanceQuery param, PagerInfo pr);

	OrderBalanceResult getDetail(Integer id);

	void delete(Integer id);

	OrderResult addOrUpdate(OrderBalanceResult result)throws BusinessException;

	
}